package com.shine.sys.entity.tmp;

import java.util.List;

public class Menu {
	
	private Integer id;
    private String name;
    private String url;

    private List<Menu> children;
    
    public Menu() {
	}

    public Menu(Integer id, String name, String icon, String url) {
        this.id = id;
        this.name = name;
        this.url = url;
    }

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<Menu> getChildren() {
		return children;
	}

	public void setChildren(List<Menu> children) {
		this.children = children;
	}

	@Override
	public String toString() {
		return "Menu{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", children=" + children +
                '}';
	}


}
